package com.hw.dubbo.consumer.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.hw.dubbo.api.DubboService;
import com.hw.dubbo.consumer.service.interfaces.ConsumerService;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class ConsumerServiceImpl implements ConsumerService {

    @Reference
    DubboService dubboService;
    @Override
    public Map getProvicerInfo() {
        return dubboService.providerInfo();
    }
}
